package com.scud.model.order.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderDetails {
    //主键id
    private Long id;
    //所属订单id
    private Long orderId;
    //对应的商品sku id
    private Long skuId;
    //商家id(为了方便查询)
    private Long userId;
    //购买数量
    private Integer count;
    //创建时间
    private LocalDateTime createTime;
}
